<link href="{siteurl}peixun.css" rel="stylesheet" type="text/css" media="screen"/>

	<div id="home_ad">
		<script type="text/javascript">
		<!--
			var pic_width=310; //图片宽度
			var pic_height=254; //图片高度
			var text_height=0; //文字高度
			var swfpath = 'image/picview.swf' //swf文件路径地址
			var swf_height = pic_height+text_height
			<!-- while:$pal = $db->fetch_array($photo_ad) -->
				{run:$pic[] = "image/news/$pal[attach]"; $link[] = $pal[linkurl]; $text[] = $pal[subject]}
			<!-- END -->		
			var pics='{run: echo implode("|",$pic);}'
			var links='{run: echo implode("|",$link);}'
			var texts='|'
			document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"  width="'+ pic_width +'" height="'+ swf_height +'">');
			document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="'+swfpath+'"><param name="quality" value="high"><param name="bgcolor" value="#ffffff">');
			document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
			document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+pic_width+'&borderheight='+pic_height+'&textheight='+text_height+'">');
			document.write('<embed src="'+swfpath+'" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+pic_width+'&borderheight='+pic_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ pic_width +'" height="'+ pic_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="flashplayer" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
			document.write('</object>');
		//-->
		</script>
	</div>

		<div id="systn_art" class="mid">
			<div id="systn_art_title"><span><a href="{_siteurl}data/news/index.html">更多...</a></span><a href="{_siteurl}data/news/index.html">站内新闻</a></div>
				<div id="systn_news">
				<ul id="systn_art_list">
				<!-- while:$nl = $db->fetch_array($news_ls) -->
					<li class="systn_star"><a title="{nl[subject]}" href="{_siteurl}data/news/{nl[id]}.html">{nl[subject]}</a> <font style="font-size:8px;">({run:=date('Y-m-d',$nl[dates]);})</font></li>
				<!-- END -->
				</ul>
				</div>
		</div>
		
		
		
		<div id="systn_art">
			<div id="systn_art_title">PHP程序推荐</div>
			<div id="systn_art_hot">
			<!-- while:$sl = $db->fetch_array($soft_hot) -->
				<a href="{sl[linkurl]}" title="{sl[content]}">{sl[subject]}</a>&nbsp;
			<!-- END -->
			</div>
		</div>
		
		
		<div id="systn_link">
			<div id="systn_link_title"><a href="#">喜腾培训</a></div>
			<div id="home_peixun">
				<div id="systn_art_box"><a href="{_siteurl}data/peixun/{peixun[id]}.html">{peixun[subject]}</a></div>
				<div id="systn_art_box_text_1">{run:=cutStr(perg_html(HTML_Fix($peixun[content])),700,'...')}</div>
			</div>
			<div id="home_peixun_list">
				<!-- while:$ml = $db->fetch_array($peixun_list) -->
				<a href="{_siteurl}data/peixun/{ml[id]}.html">{ml[subject]}</a>&nbsp;&nbsp;
				<!-- END -->
			</div>
		</div>
		
		
		<div id="systn_link">
			<div id="systn_link_title"><span><a href="{siteurl}manual/index.html">更多...</a></span><a href="{siteurl}manual/index.html">手册大全</a></div>
			<ul id="home_manual">
				<!-- while:$ml = $db->fetch_array($manual_list) -->
				<li><a href="{siteurl}{ml[linkurl]}"><img src="{siteurl}image/manual_logo/{ml[logo]}" border=0><br>{ml[subject]}</a></li>
				<!-- END -->
			</ul>
		</div>
		
		
		{run: $i=0;}
		<!-- while:$ac = $db->fetch_array($art_cate) -->
		{run:}$i++; if(in_array($i,array(2,5))){$fenge = ' class="art_mid"';}else{$fenge =' class="art_set"';}{/run}
		<div id="systn_art"{fenge}>
			{run:}$art_list = $db->query("SELECT * FROM articles WHERE cate_id='$ac[id]' ORDER BY id DESC",11){/run}
				<!-- while:$al = $db->fetch_array($art_list) -->
					<!-- IF($_i==1) -->
						<div id="systn_art_title"><span><a href="{_siteurl}data/articles/{ac[id]}_list_1.html">更多...</a></span><a href="{_siteurl}data/articles/{ac[id]}_list_1.html">{ac[title]}</a></div>
						<div id="systn_art_box"><a href="{_siteurl}data/articles/{al[id]}.html" target="_blank">{run:=cutStr($al[subject],36,'...')}</a></div>
						<div id="systn_art_box_text">{run:echo (cutStr(perg_html(HTML_Fix($al[content])),105,'...'))?cutStr(perg_html(HTML_Fix($al[content])),105,'...'):$al[subject];}</div>
					<!-- ELSE -->
					<ul id="systn_art_list">
						<li>·<a href="{_siteurl}data/articles/{al[id]}.html" target="_blank">{run:=cutStr($al[subject],39,'...')}</a></li>
					</ul>
					<!-- END -->
				<!-- END -->
		</div>
		
		<!-- END -->
		
		
		
		<div id="systn_link">
			<div id="systn_link_title"><a href="#">友情连接</a></div>
			
			<ul id="systn_link_list">
				<!-- while:$il = $db->fetch_array($interested_link) -->
				<li><a href="{il[linkurl]}" title="{run:=cutStr($il[content],80)}">{il[subject]}</a></li>
				<!-- END -->
			</ul>
		</div>
